home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / PredatorPrey / data_structs.c < prev    next >
C/C++ Source or Header  |  1996-06-22  |  623b  |  42 lines

  1. struct    cNode;
  2. struct    dData;
  3. struct    dNode;
  4.  
  5.  
  6. struct    Root
  7. {
  8.     struct    cNode    *cNext;
  9. };
  10.  
  11. struct    Root    *theRootPtr,    *rCurrentPtr;
  12.  
  13. struct    cNode
  14. {
  15.     struct        cNode    *cNext;
  16.     struct        dNode    *dNext;
  17.     short        cCount;
  18.     double_t    runConst;
  19.     
  20. };
  21.  
  22. struct    cNode    *cCurrentPtr,    *cTempPtr;
  23.  
  24. struct    dNode
  25. {
  26.     struct        dNode    *dNext;
  27.     short        dCount;        /*    how many data point sets    */
  28.     short        dataCount;    /*    how many data values per set    */
  29.     double_t    runData;
  30.     //struct    dData    *daNext;
  31. };
  32.  
  33. struct    dNode    *dCurrentPtr,    *dTempPtr;
  34.  
  35. /*struct    dData*/
  36. /*{*/
  37. /*    double_t    runData;*/
  38. /*    struct        dData    *daNext;*/
  39. /*};*/
  40. /**/
  41. /*struct    dData    *daCurrentPtr,    *daTempPtr;*/
  42.